home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / samples.zip / USE.PS < prev    next >
Text File  |  1992-08-20  |  27KB  |  524 lines

  1. %!PS-Adobe-2.0 EPSF-1.2
  2. %%BeginDocument: PPS ASCII-to-Postscript Conversion
  3. %%Title: PPS generated file
  4. %%Creator: PPS version 2.13
  5. %%BoundingBox: (atend)
  6. %%DocumentFonts: (atend)
  7. %%CreationDate: Thu 20 Aug 1992   21:37:23
  8. %%Pages: 1
  9. %%EndComments
  10. %%EndProlog
  11. %Copywrite 1988 (C) by Nathan Liskov.  All Rights Reserved
  12. save mark
  13. /m {moveto} def
  14. /s {show} def
  15. /normalfont {/Helvetica findfont 16  scalefont setfont} def
  16. /boldfont {/Helvetica-Bold findfont 16  scalefont setfont} def
  17. /#copies 1 def
  18. clippath pathbbox
  19. 0.98 0.98 scale
  20. /saveobj2 save def
  21. normalfont
  22.  18.0 774 m (File: use.doc             Thu 20 Aug 1992   21:37:36             Page   1) s 
  23.  18.0 720 m (   Copyright \(C\) 1989, 1992 Aladdin Enterprises.  All rights reserved.) s 
  24.  18.0 702 m (   Distributed by Free Software Foundation, Inc.) s 
  25.  18.0 666 m (This file is part of Ghostscript.) s 
  26.  18.0 630 m (Ghostscript is distributed in the hope that it will be useful, but) s 
  27.  18.0 612 m (WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility) s 
  28.  18.0 594 m (to anyone for the consequences of using it or for whether it serves an) s 
  29.  18.0 576 m (y) s 
  30.  18.0 558 m (particular purpose or works at all, unless he says so in writing.  Ref) s 
  31.  18.0 540 m (er) s 
  32.  18.0 522 m (to the Ghostscript General Public License for full details.) s 
  33.  18.0 486 m (Everyone is granted permission to copy, modify and redistribute) s 
  34.  18.0 468 m (Ghostscript, but only under the conditions described in the Ghostscrip) s 
  35.  18.0 450 m (t) s 
  36.  18.0 432 m (General Public License.  A copy of this license is supposed to have be) s 
  37.  18.0 414 m (en) s 
  38.  18.0 396 m (given to you along with Ghostscript so you can know your rights and) s 
  39.  18.0 378 m (responsibilities.  It should be in a file named COPYING.  Among other) s 
  40.  18.0 360 m (things, the copyright notice and this notice must be preserved on all) s 
  41.  18.0 342 m (copies.) s 
  42.  18.0 306 m (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) s 
  43.  18.0 288 m (-) s 
  44.  18.0 252 m (This file, use.doc, describes how to use the Ghostscript language) s 
  45.  18.0 234 m (interpreter.) s 
  46.  18.0 198 m (For an overview of Ghostscript and a list of the documentation files, ) s 
  47.  18.0 180 m (see) s 
  48.  18.0 162 m (README.  ) s 
  49.  18.0 126 m (********) s 
  50.  18.0 108 m (******** How to use the Ghostscript interpreter ********) s 
  51.  18.0 90 m (********) s 
  52.  showpage
  53. saveobj2 restore
  54. /saveobj2 save def
  55. normalfont
  56.  18.0 774 m (File: use.doc             Thu 20 Aug 1992   21:37:36             Page   2) s 
  57.  18.0 702 m (The file name of the Ghostscript interpreter is gs.exe \(MS-DOS and VMS) s 
  58.  18.0 684 m (\) or) s 
  59.  18.0 666 m (gs \(Unix\).  To run it, you also need some external initialization file) s 
  60.  18.0 648 m (s:) s 
  61.  89.2 630 m (gs_*.ps \(gs_2asc.ps, gs_dps1.ps,) s 
  62. 164.8 612 m ( gs_fonts.ps, gs_init.ps, gs_lev2.ps, gs_statd.ps\)) s 
  63.  89.2 594 m (sym__enc.ps) s 
  64.  89.2 576 m (uglyr.gsf) s 
  65.  89.2 558 m (Fontmap) s 
  66.  18.0 540 m (as well as any other fonts from the Ghostscript distribution \(.gsf and) s 
  67.  18.0 522 m (.pfa files\).) s 
  68.  18.0 486 m (To invoke the interpreter, give the command) s 
  69.  89.2 468 m (gs <filename1> ... <filenameN>) s 
  70.  18.0 450 m (The interpreter will read in the files in sequence and execute them.) s 
  71.  18.0 432 m (After doing this, it reads further input from the primary input stream) s 
  72.  18.0 414 m (\(normally the keyboard\).  Each line \(i.e. characters up to a <return>\)) s 
  73.  18.0 396 m ( is) s 
  74.  18.0 378 m (interpreted separately.  To exit from the interpreter, type quit<retur) s 
  75.  18.0 360 m (n>.) s 
  76.  18.0 342 m (The interpreter also exits gracefully if it encounters end-of-file.) s 
  77.  18.0 324 m (Typing the interrupt character, e.g., control-C, is also safe.) s 
  78.  18.0 288 m (The interpreter recognizes several switches described below, which may) s 
  79.  18.0 270 m ( appear) s 
  80.  18.0 252 m (anywhere in the command line and apply to all files thereafter.) s 
  81.  18.0 216 m (You can get a help message by invoking Ghostscript with) s 
  82.  89.2 198 m (gs -h) s 
  83.  18.0 180 m (or) s 
  84.  89.2 162 m (gs -?) s 
  85.  18.0 144 m (This message also lists the available devices.  For a little more) s 
  86.  18.0 126 m (information, a one-line description of each device appears near the) s 
  87.  18.0 108 m (beginning of the file devs.mak.) s 
  88.  showpage
  89. saveobj2 restore
  90. /saveobj2 save def
  91. normalfont
  92.  18.0 774 m (File: use.doc             Thu 20 Aug 1992   21:37:36             Page   3) s 
  93.  18.0 720 m (Choosing the output device) s 
  94.  18.0 702 m (--------------------------) s 
  95.  18.0 666 m (Ghostscript may be built with multiple output devices.  Ghostscript) s 
  96.  18.0 648 m (normally opens the first one and directs output to it.  To use device ) s 
  97.  18.0 630 m (xyz) s 
  98.  18.0 612 m (as the initial output device, include the switch) s 
  99.  89.2 594 m (-sDEVICE=xyz) s 
  100.  18.0 576 m (in the command line.  Note that this switch must precede the first .ps) s 
  101.  18.0 558 m (file, and only its first invocation has any effect.  For example, for) s 
  102.  18.0 540 m (printer output in a normal configuration that includes an Epson printe) s 
  103.  18.0 522 m (r) s 
  104.  18.0 504 m (driver, you might use the shell command) s 
  105.  89.2 486 m (gs -sDEVICE=epson myfile.ps) s 
  106.  18.0 468 m (instead of just) s 
  107.  89.2 450 m (gs myfile.ps) s 
  108.  18.0 432 m (Alternatively, you can type) s 
  109.  89.2 414 m (\(epson\) selectdevice) s 
  110.  89.2 396 m (\(myfile.ps\) run) s 
  111.  18.0 378 m (All output then goes to the printer instead of the display until furth) s 
  112.  18.0 360 m (er) s 
  113.  18.0 342 m (notice.  You can switch devices at any time by using the selectdevice) s 
  114.  18.0 324 m (procedure, e.g.,) s 
  115.  89.2 306 m (\(vga\) selectdevice) s 
  116.  18.0 288 m (or) s 
  117.  89.2 270 m (\(epson\) selectdevice) s 
  118.  18.0 252 m (As yet a third alternative, you can define an environment variable) s 
  119.  18.0 234 m (GS_DEVICE as the desired default device name.  The order of precedence) s 
  120.  18.0 216 m ( for) s 
  121.  18.0 198 m (these alternatives, highest to lowest, is:) s 
  122.  89.2 180 m (selectdevice) s 
  123.  89.2 162 m (\(command line\)) s 
  124.  89.2 144 m (GS_DEVICE) s 
  125.  89.2 126 m (\(first device in build list\)) s 
  126.  18.0 90 m (To select the density on a printer, use) s 
  127.  showpage
  128. saveobj2 restore
  129. /saveobj2 save def
  130. normalfont
  131.  18.0 774 m (File: use.doc             Thu 20 Aug 1992   21:37:36             Page   4) s 
  132.  89.2 720 m (gs -sDEVICE=<device> -r<xres>x<yres>) s 
  133.  18.0 702 m (For example, on a 9-pin Epson-compatible printer, you can get the) s 
  134.  18.0 684 m (lowest-density \(fastest\) mode with) s 
  135.  89.2 666 m (gs -sDEVICE=epson -r60x72) s 
  136.  18.0 648 m (and the highest-density mode with) s 
  137.  89.2 630 m (gs -sDEVICE=epson -r240x72.) s 
  138.  18.0 612 m (On a 24-pin printer, the lowest density is) s 
  139.  89.2 594 m (gs -sDEVICE=epson -r60x60) s 
  140.  18.0 576 m (and the highest-density 24-pin mode is) s 
  141.  89.2 558 m (gs -sDEVICE=epson -r360x180) s 
  142.  18.0 522 m (If you select a printer as the output device, Ghostscript also allows ) s 
  143.  18.0 504 m (you) s 
  144.  18.0 486 m (to control where the device sends its output.  Normally, output goes) s 
  145.  18.0 468 m (directly to the printer \(PRN\) on MS-DOS systems, and to a scratch file) s 
  146.  18.0 450 m ( on) s 
  147.  18.0 432 m (Unix or VMS systems.  To send the output to a series of files foo1.xyz) s 
  148.  18.0 414 m (,) s 
  149.  18.0 396 m (foo2.xyz, ..., use the switch) s 
  150.  89.2 378 m (-sOutputFile=foo%d.xyz) s 
  151.  18.0 360 m (\(For compatibility with older versions of Ghostscript, -sOUTPUTFILE=) s 
  152.  18.0 342 m (also works.\)  The %d is a printf format specification; you can use) s 
  153.  18.0 324 m (other formats like %02d.  Each file will receive one page of output.) s 
  154.  18.0 306 m (Alternatively, to send the output to a single file foo.xyz, with all) s 
  155.  18.0 288 m (the pages concatenated, use the switch) s 
  156.  89.2 270 m (-sOutputFile=foo.xyz) s 
  157.  18.0 234 m (On Unix systems, you can send the output directly to a pipe.  For) s 
  158.  18.0 216 m (example, to pipe the output to the command `lpr' \(which, on many Unix) s 
  159.  18.0 198 m (systems, is the command that spools output for a printer\), use th